Registry Guide for Windows Registry Guide for Windows
Part of the WinGuides Network
WinGuides Network and Software
Registry tweaks, tricks & hacks to optimize, enhance and secure Microsoft Windows.

Change System Environment Variables (Windows NT/2000/XP)
Category: Home > Windows > System

Download this tweak with Tweak Manager!This tweak can be easily applied using WinGuides Tweak Manager.
Download a free trial now!

This key contains the Windows system environment variables, the variables include Path, Temp, Windir and any other defined values.

Open your registry and find the key below.

Modify the value of any existing variables by double-clicking the value name. To create a new variable, select Edit -> New -> String Value.

You may be required to restart Windows for the change to take effect.

Registry Editor Example
|NameTypeData|
|(Default)REG_SZ(value not set)|
|PathREG_SZ"c:\winnt; c:\winnt\system32"|
-
|HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Envi...|
-

Settings:
System Key: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\
Environment]

Type: REG_EXPAND_SZ (Expanded String Value)

Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. We cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.

Last Modified: May 30, 2003

 Return to Index Copyright © 1998-2003. All Rights Reserved.  License